package org.csu.canteen.service;

import org.csu.canteen.entity.Account;
import org.csu.canteen.entity.Orders;
import org.csu.canteen.vo.AccountVO;
import org.csu.canteen.vo.CartVO;
import org.csu.canteen.vo.OrderVO;

import java.util.List;

public interface OrderService {
    public void insertOrder(Orders orders);

    public Orders getOrderById(int orderId);

    public List<Orders> getOrdersByUsername(String username);

    //更新sequence表 已测试
    public int getNextId(String name);



}
